import axios from '../axios'

export default {
    GetAppointment (data) {
        return axios({
            url: '/Reservation/ReceptionistSelectReservation',
            method: 'PUT',
            data
        })
    },
    DelAppointment(id) {
        return axios({
            url: '/Reservation/'+ id,
            method: 'DELETE',
        })
    },
    UpdateAppointment(reservation) {
        return axios({
            url: '/Reservation/updateReservation',
            method: 'PUT',
            data:reservation
        })
    }
}